package com.yml.mall.product.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class ProductListDTO  {

    @ApiModelProperty( "ID")
    private Integer id;

    @ApiModelProperty( "分类id")
    private Integer categoryId;

    @ApiModelProperty( "主标题")
    private String name;

    @ApiModelProperty( "副标题")
    private String subtitle;

    @ApiModelProperty( "主相片")
    private String mainImage;

    @ApiModelProperty( "价格")
    private BigDecimal price;

    @ApiModelProperty( "库存")
    private Integer stock;

}